﻿<script type="text/mustache-template" id="CouponTemplate">
    <div id="CouponList" class="plist">
        {{>header}}
        <div class="scroll-wrapper" id="CouponListWrapper">
            <div class="scroll-inner">
            <div class='innerTitle'>优惠券</div>

            <div class='promotionList pad-6'>
                
            </div>
            
            {{>footer}}
            </div>
        </div>
    </div>
</script>

<script type="text/mustache-template" id="PromotionListTemplate">
    <h3>可参加的优惠活动</h3>
    {{#coupons}}
        <ul canuse='{{IsAllowFavourTicket}}'>
            <li>
                <input type='radio' name='activity' id='{{Guid}}'/>
                <label for='{{Guid}}'><span class='couponname'>{{Name}}</span><br>
                开始时间:{{StartTime}}<br>
                结束时间：{{EndTime}}<br>
                {{Description}}
                </label>
            </li>
        </ul>
    {{/coupons}}
    <div class='couponInput pad-6'>
        <ul>
            <li>
                <label>优惠券号码：</label><span class='toggle'><input type="checkbox" checked="checked"/></span>
                <p>
                    <input type='text' class='common-input' id='couponID' name='couponID'/>
                </p>
            </li>
        </ul>
    </div>

    <div><input type="submit" id="CouponSubmit" name="CouponSubmit" value='确认' class='ui-button' style='margin-bottom:10px;'/></div>
</script>

<script type="text/mustache-template" id="EmptyPromotionListTemplate">
    <h3>没有优惠活动</h3>
</script>
